﻿<phone:PhoneApplicationPage 
    x:Class="Android_Web_Browser.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
    xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    
    toolkit:TiltEffect.IsTiltEnabled="True"
    xmlns:toolkit="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone.Controls.Toolkit"
    mc:Ignorable="d" d:DesignWidth="480" d:DesignHeight="800"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    SupportedOrientations="PortraitOrLandscape" Orientation="Portrait"
    shell:SystemTray.IsVisible="False" xmlns:controls="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone.Controls" Loaded="PhoneApplicationPage_Loaded">
    <phone:PhoneApplicationPage.Resources>
        <Style x:Key="ButtonStyle1" TargetType="Button">
            <Setter Property="Background" Value="Transparent"/>
            <Setter Property="BorderBrush" Value="{StaticResource PhoneForegroundBrush}"/>
            <Setter Property="Foreground" Value="{StaticResource PhoneForegroundBrush}"/>
            <Setter Property="BorderThickness" Value="{StaticResource PhoneBorderThickness}"/>
            <Setter Property="FontFamily" Value="{StaticResource PhoneFontFamilySemiBold}"/>
            <Setter Property="FontSize" Value="{StaticResource PhoneFontSizeMediumLarge}"/>
            <Setter Property="Padding" Value="10,3,10,5"/>
            <Setter Property="Template">
                <Setter.Value>
                    <ControlTemplate TargetType="Button">
                        <Grid Background="Transparent">
                            <VisualStateManager.VisualStateGroups>
                                <VisualStateGroup x:Name="CommonStates">
                                    <VisualState x:Name="Normal"/>
                                    <VisualState x:Name="MouseOver"/>
                                    <VisualState x:Name="Pressed">
                                        <Storyboard>
                                            <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Foreground" Storyboard.TargetName="ContentContainer">
                                                <DiscreteObjectKeyFrame KeyTime="0" Value="Transparent"/>
                                            </ObjectAnimationUsingKeyFrames>
                                            <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Background" Storyboard.TargetName="ButtonBackground">
                                                <DiscreteObjectKeyFrame KeyTime="0" Value="Transparent"/>
                                            </ObjectAnimationUsingKeyFrames>
                                            <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="BorderBrush" Storyboard.TargetName="ButtonBackground">
                                                <DiscreteObjectKeyFrame KeyTime="0" Value="Transparent"/>
                                            </ObjectAnimationUsingKeyFrames>
                                        </Storyboard>
                                    </VisualState>
                                    <VisualState x:Name="Disabled">
                                        <Storyboard>
                                            <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Foreground" Storyboard.TargetName="ContentContainer">
                                                <DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource PhoneDisabledBrush}"/>
                                            </ObjectAnimationUsingKeyFrames>
                                            <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="BorderBrush" Storyboard.TargetName="ButtonBackground">
                                                <DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource PhoneDisabledBrush}"/>
                                            </ObjectAnimationUsingKeyFrames>
                                            <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Background" Storyboard.TargetName="ButtonBackground">
                                                <DiscreteObjectKeyFrame KeyTime="0" Value="Transparent"/>
                                            </ObjectAnimationUsingKeyFrames>
                                        </Storyboard>
                                    </VisualState>
                                </VisualStateGroup>
                                <VisualStateGroup x:Name="FocusStates">
                                    <VisualState x:Name="Unfocused"/>
                                    <VisualState x:Name="Focused"/>
                                </VisualStateGroup>
                            </VisualStateManager.VisualStateGroups>
                            <Border x:Name="ButtonBackground" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Background="{TemplateBinding Background}" CornerRadius="0" Margin="{StaticResource PhoneTouchTargetOverhang}">
                                <ContentControl x:Name="ContentContainer" ContentTemplate="{TemplateBinding ContentTemplate}" Content="{TemplateBinding Content}" Foreground="{TemplateBinding Foreground}" HorizontalContentAlignment="{TemplateBinding HorizontalContentAlignment}" Padding="{TemplateBinding Padding}" VerticalContentAlignment="{TemplateBinding VerticalContentAlignment}"/>
                            </Border>
                        </Grid>
                    </ControlTemplate>
                </Setter.Value>
            </Setter>
        </Style>
        <Style x:Key="ButtonStyle2" TargetType="Button">
            <Setter Property="Background" Value="Transparent"/>
            <Setter Property="BorderBrush" Value="{StaticResource PhoneForegroundBrush}"/>
            <Setter Property="Foreground" Value="{StaticResource PhoneForegroundBrush}"/>
            <Setter Property="BorderThickness" Value="{StaticResource PhoneBorderThickness}"/>
            <Setter Property="FontFamily" Value="{StaticResource PhoneFontFamilySemiBold}"/>
            <Setter Property="FontSize" Value="{StaticResource PhoneFontSizeMediumLarge}"/>
            <Setter Property="Padding" Value="10,3,10,5"/>
            <Setter Property="Template">
                <Setter.Value>
                    <ControlTemplate TargetType="Button">
                        <Grid Background="Transparent">
                            <VisualStateManager.VisualStateGroups>
                                <VisualStateGroup x:Name="CommonStates">
                                    <VisualState x:Name="Normal"/>
                                    <VisualState x:Name="MouseOver"/>
                                    <VisualState x:Name="Pressed">
                                        <Storyboard>
                                            <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Foreground" Storyboard.TargetName="ContentContainer">
                                                <DiscreteObjectKeyFrame KeyTime="0" Value="Transparent"/>
                                            </ObjectAnimationUsingKeyFrames>
                                            <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Background" Storyboard.TargetName="ButtonBackground">
                                                <DiscreteObjectKeyFrame KeyTime="0" Value="Transparent"/>
                                            </ObjectAnimationUsingKeyFrames>
                                            <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="BorderBrush" Storyboard.TargetName="ButtonBackground">
                                                <DiscreteObjectKeyFrame KeyTime="0" Value="Transparent"/>
                                            </ObjectAnimationUsingKeyFrames>
                                        </Storyboard>
                                    </VisualState>
                                    <VisualState x:Name="Disabled">
                                        <Storyboard>
                                            <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Foreground" Storyboard.TargetName="ContentContainer">
                                                <DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource PhoneDisabledBrush}"/>
                                            </ObjectAnimationUsingKeyFrames>
                                            <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="BorderBrush" Storyboard.TargetName="ButtonBackground">
                                                <DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource PhoneDisabledBrush}"/>
                                            </ObjectAnimationUsingKeyFrames>
                                            <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Background" Storyboard.TargetName="ButtonBackground">
                                                <DiscreteObjectKeyFrame KeyTime="0" Value="Transparent"/>
                                            </ObjectAnimationUsingKeyFrames>
                                        </Storyboard>
                                    </VisualState>
                                </VisualStateGroup>
                            </VisualStateManager.VisualStateGroups>
                            <Border x:Name="ButtonBackground" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Background="{TemplateBinding Background}" CornerRadius="0" Margin="{StaticResource PhoneTouchTargetOverhang}">
                                <ContentControl x:Name="ContentContainer" ContentTemplate="{TemplateBinding ContentTemplate}" Content="{TemplateBinding Content}" Foreground="{TemplateBinding Foreground}" HorizontalContentAlignment="{TemplateBinding HorizontalContentAlignment}" Padding="{TemplateBinding Padding}" VerticalContentAlignment="{TemplateBinding VerticalContentAlignment}"/>
                            </Border>
                        </Grid>
                    </ControlTemplate>
                </Setter.Value>
            </Setter>
        </Style>
        <Storyboard x:Name="grid1hide">
        	<DoubleAnimation Duration="0:0:0.3" To="61.5" Storyboard.TargetProperty="(UIElement.RenderTransform).(CompositeTransform.TranslateY)" Storyboard.TargetName="grid1" d:IsOptimized="True"/>
        </Storyboard>
        <Storyboard x:Name="panorama1hide">
        	<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(CompositeTransform.TranslateY)" Storyboard.TargetName="panorama1">
        		<EasingDoubleKeyFrame KeyTime="0" Value="-3"/>
        		<EasingDoubleKeyFrame KeyTime="0:0:0.2" Value="-58.5"/>
        	</DoubleAnimationUsingKeyFrames>
        </Storyboard>
        <Storyboard x:Name="grid1show">
        	<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(CompositeTransform.TranslateY)" Storyboard.TargetName="grid1">
        		<EasingDoubleKeyFrame KeyTime="0" Value="60"/>
        		<EasingDoubleKeyFrame KeyTime="0:0:0.2" Value="0"/>
        	</DoubleAnimationUsingKeyFrames>
        </Storyboard>
        <Storyboard x:Name="panorama1show">
        	<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(CompositeTransform.TranslateY)" Storyboard.TargetName="panorama1">
        		<EasingDoubleKeyFrame KeyTime="0" Value="-61.5"/>
        		<EasingDoubleKeyFrame KeyTime="0:0:0.2" Value="-3"/>
        	</DoubleAnimationUsingKeyFrames>
        </Storyboard>
        <Storyboard x:Name="OpenMenu">
        	<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(CompositeTransform.TranslateY)" Storyboard.TargetName="grid1">
        		<EasingDoubleKeyFrame KeyTime="0" Value="0"/>
        		<EasingDoubleKeyFrame KeyTime="0:0:0.4" Value="-740.572"/>
        	</DoubleAnimationUsingKeyFrames>
        	<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(CompositeTransform.TranslateY)" Storyboard.TargetName="settings">
        		<EasingDoubleKeyFrame KeyTime="0" Value="-2"/>
        		<EasingDoubleKeyFrame KeyTime="0:0:0.4" Value="-752.572"/>
        	</DoubleAnimationUsingKeyFrames>
        	<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(CompositeTransform.TranslateX)" Storyboard.TargetName="grid1">
        		<EasingDoubleKeyFrame KeyTime="0" Value="0"/>
        		<EasingDoubleKeyFrame KeyTime="0:0:0.4" Value="-0.5"/>
        	</DoubleAnimationUsingKeyFrames>
        	<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(CompositeTransform.TranslateX)" Storyboard.TargetName="settings">
        		<EasingDoubleKeyFrame KeyTime="0" Value="0"/>
        		<EasingDoubleKeyFrame KeyTime="0:0:0.4" Value="-0.5"/>
        	</DoubleAnimationUsingKeyFrames>
        	<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(CompositeTransform.TranslateY)" Storyboard.TargetName="button2">
        		<EasingDoubleKeyFrame KeyTime="0" Value="100"/>
        		<EasingDoubleKeyFrame KeyTime="0:0:0.16" Value="60"/>
        		<EasingDoubleKeyFrame KeyTime="0:0:0.32" Value="22.836"/>
        		<EasingDoubleKeyFrame KeyTime="0:0:0.4" Value="2.836"/>
        	</DoubleAnimationUsingKeyFrames>
        	<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(CompositeTransform.TranslateY)" Storyboard.TargetName="button5">
        		<EasingDoubleKeyFrame KeyTime="0" Value="100"/>
        		<EasingDoubleKeyFrame KeyTime="0:0:0.15" Value="0"/>
        	</DoubleAnimationUsingKeyFrames>
        	<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(CompositeTransform.TranslateY)" Storyboard.TargetName="buttonHelp">
        		<EasingDoubleKeyFrame KeyTime="0" Value="100"/>
        		<EasingDoubleKeyFrame KeyTime="0:0:0.1" Value="0"/>
        	</DoubleAnimationUsingKeyFrames>
        	<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(CompositeTransform.TranslateY)" Storyboard.TargetName="pivot1">
        		<EasingDoubleKeyFrame KeyTime="0" Value="100"/>
        		<EasingDoubleKeyFrame KeyTime="0:0:0.15" Value="60"/>
        		<EasingDoubleKeyFrame KeyTime="0:0:0.3" Value="6.328"/>
        	</DoubleAnimationUsingKeyFrames>
        </Storyboard>
        <Storyboard x:Name="CloseMenu">
        	<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(CompositeTransform.TranslateY)" Storyboard.TargetName="grid1">
        		<EasingDoubleKeyFrame KeyTime="0" Value="-739.5"/>
        		<EasingDoubleKeyFrame KeyTime="0:0:0.4" Value="0"/>
        	</DoubleAnimationUsingKeyFrames>
        	<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(CompositeTransform.TranslateY)" Storyboard.TargetName="settings">
        		<EasingDoubleKeyFrame KeyTime="0" Value="-739.5"/>
        		<EasingDoubleKeyFrame KeyTime="0:0:0.4" Value="0"/>
        	</DoubleAnimationUsingKeyFrames>
        	<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(CompositeTransform.TranslateX)" Storyboard.TargetName="grid1">
        		<EasingDoubleKeyFrame KeyTime="0" Value="-1.5"/>
        		<EasingDoubleKeyFrame KeyTime="0:0:0.4" Value="0"/>
        	</DoubleAnimationUsingKeyFrames>
        	<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(CompositeTransform.TranslateX)" Storyboard.TargetName="settings">
        		<EasingDoubleKeyFrame KeyTime="0" Value="-1.5"/>
        		<EasingDoubleKeyFrame KeyTime="0:0:0.4" Value="0"/>
        	</DoubleAnimationUsingKeyFrames>
        </Storyboard>
        <Storyboard x:Name="BackButtonClicked">
        	<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(CompositeTransform.TranslateY)" Storyboard.TargetName="BrowserHost">
        		<EasingDoubleKeyFrame KeyTime="0" Value="0"/>
        		<EasingDoubleKeyFrame KeyTime="0:0:0.3" Value="-3"/>
        		<EasingDoubleKeyFrame KeyTime="0:0:0.317" Value="5.362"/>
        		<EasingDoubleKeyFrame KeyTime="0:0:0.6" Value="-0.638"/>
        	</DoubleAnimationUsingKeyFrames>
        	<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Projection).(PlaneProjection.RotationY)" Storyboard.TargetName="BrowserHost">
        		<EasingDoubleKeyFrame KeyTime="0" Value="0"/>
        		<EasingDoubleKeyFrame KeyTime="0:0:0.3" Value="33"/>
        		<EasingDoubleKeyFrame KeyTime="0:0:0.317" Value="-34.7"/>
        		<EasingDoubleKeyFrame KeyTime="0:0:0.6" Value="0"/>
        	</DoubleAnimationUsingKeyFrames>
        	<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Projection).(PlaneProjection.CenterOfRotationX)" Storyboard.TargetName="BrowserHost">
        		<EasingDoubleKeyFrame KeyTime="0" Value="0.5"/>
        		<EasingDoubleKeyFrame KeyTime="0:0:0.3" Value="2"/>
        		<EasingDoubleKeyFrame KeyTime="0:0:0.317" Value="0"/>
        	</DoubleAnimationUsingKeyFrames>
        	<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(CompositeTransform.TranslateX)" Storyboard.TargetName="BrowserHost">
        		<EasingDoubleKeyFrame KeyTime="0" Value="0"/>
        		<EasingDoubleKeyFrame KeyTime="0:0:0.3" Value="306"/>
        		<EasingDoubleKeyFrame KeyTime="0:0:0.317" Value="-389.302"/>
        		<EasingDoubleKeyFrame KeyTime="0:0:0.6" Value="0.698"/>
        	</DoubleAnimationUsingKeyFrames>
        </Storyboard>
        
    </phone:PhoneApplicationPage.Resources>

    <toolkit:TransitionService.NavigationInTransition>
        <toolkit:NavigationInTransition>
            <toolkit:NavigationInTransition.Backward>
                <toolkit:TurnstileTransition Mode="BackwardIn"/>
            </toolkit:NavigationInTransition.Backward>
            <toolkit:NavigationInTransition.Forward>
                <toolkit:TurnstileTransition Mode="ForwardIn"/>
            </toolkit:NavigationInTransition.Forward>
        </toolkit:NavigationInTransition>
    </toolkit:TransitionService.NavigationInTransition>
    <toolkit:TransitionService.NavigationOutTransition>
        <toolkit:NavigationOutTransition>
            <toolkit:NavigationOutTransition.Backward>
                <toolkit:TurnstileTransition Mode="BackwardOut"/>
            </toolkit:NavigationOutTransition.Backward>
            <toolkit:NavigationOutTransition.Forward>
                <toolkit:TurnstileTransition Mode="ForwardOut"/>
            </toolkit:NavigationOutTransition.Forward>
        </toolkit:NavigationOutTransition>
    </toolkit:TransitionService.NavigationOutTransition>

    <!--LayoutRoot is the root grid where all page content is placed-->
    <Grid x:Name="LayoutRoot" Background="White">

        <Grid.RowDefinitions>
            <RowDefinition Height="0"/>
            <RowDefinition Height="768*"/>
        </Grid.RowDefinitions>
        <!--TitlePanel contains the name of the application and page title-->

        <!--ContentPanel - place additional content here-->
        <Grid x:Name="ContentPanel" Grid.Row="1">
            <Grid.Background>
                <SolidColorBrush Color="{StaticResource PhoneBackgroundColor}"/>
            </Grid.Background>
            <Grid x:Name="BrowserHost" Background="#FF68CBCB" Margin="0,60" RenderTransformOrigin="0.5,0.5">
            	<Grid.Projection>
            		<PlaneProjection/>
            	</Grid.Projection>
            	<Grid.RenderTransform>
            		<CompositeTransform/>
            	</Grid.RenderTransform>
                <toolkit:ContextMenuService.ContextMenu>
                    <toolkit:ContextMenu x:Name="cmMain" Background="Transparent" IsZoomEnabled="True">
                        <toolkit:MenuItem Header="Refresh" Click="MenuItem_Refresh_Click" />
                        <toolkit:MenuItem Header="Forward" Click="MenuItem_Forward_Click" />
                        <toolkit:MenuItem Header="Exit" Click="MenuItem_Exit_Click" />
                    </toolkit:ContextMenu>
                </toolkit:ContextMenuService.ContextMenu>

                <toolkit:GestureService.GestureListener>
                    <toolkit:GestureListener 
                        Flick="OnFlick" Hold="OnHold"/>
                </toolkit:GestureService.GestureListener>

                <phone:WebBrowser Navigated="wb1_Navigated" HorizontalAlignment="Stretch" x:Name="wb1" VerticalAlignment="Stretch" Width="Auto" IsScriptEnabled="True" IsGeolocationEnabled="True" Background="#FFAAA56B" Margin="0" />
                <phone:WebBrowser Navigated="wb2_Navigated" Background="#FFAAA56B" HorizontalAlignment="Stretch" IsGeolocationEnabled="True" IsScriptEnabled="True" Margin="0" x:Name="wb2" VerticalAlignment="Stretch" Width="Auto" />
                <phone:WebBrowser Navigated="wb3_Navigated" Background="#FFAAA56B" HorizontalAlignment="Stretch" IsGeolocationEnabled="True" IsScriptEnabled="True" Margin="0" x:Name="wb3" VerticalAlignment="Stretch" Width="Auto" />
                <phone:WebBrowser Navigated="wb4_Navigated" Background="#FFAAA56B" HorizontalAlignment="Stretch" IsGeolocationEnabled="True" IsScriptEnabled="True" Margin="0" x:Name="wb4" VerticalAlignment="Stretch" Width="Auto" />
                <phone:WebBrowser Navigated="wb5_Navigated" Background="#FFAAA56B" HorizontalAlignment="Stretch" IsGeolocationEnabled="True" IsScriptEnabled="True" Margin="0" x:Name="wb5" VerticalAlignment="Stretch" Width="Auto" />
                <phone:WebBrowser Navigated="wb6_Navigated" Background="#FFAAA56B" HorizontalAlignment="Stretch" IsGeolocationEnabled="True" IsScriptEnabled="True" Margin="0" x:Name="wb6" VerticalAlignment="Stretch" Width="Auto" />
                <phone:WebBrowser Navigated="wb7_Navigated" Background="#FFAAA56B" HorizontalAlignment="Stretch" IsGeolocationEnabled="True" IsScriptEnabled="True" Margin="0" x:Name="wb7" VerticalAlignment="Stretch" Width="Auto" />
                <phone:WebBrowser Navigated="wb8_Navigated" Background="#FFAAA56B" Height="Auto" HorizontalAlignment="Stretch" IsGeolocationEnabled="True" IsScriptEnabled="True" Margin="0" x:Name="wb8" VerticalAlignment="Stretch" Width="Auto" />

            </Grid>
            <Rectangle Height="740" HorizontalAlignment="Left" x:Name="rectangle1" Stroke="Black" StrokeThickness="1" VerticalAlignment="Top" Width="480" Fill="#B6000000" Visibility="Collapsed" />
            <controls:Panorama x:Name="panorama1" Title="" Foreground="Black" HorizontalContentAlignment="Stretch" ScrollViewer.VerticalScrollBarVisibility="Visible" Height="58" VerticalAlignment="Top" RenderTransformOrigin="0.5,0.5" Margin="0,2,0,0">
            	<controls:Panorama.RenderTransform>
            		<CompositeTransform/>
            	</controls:Panorama.RenderTransform>
                <controls:Panorama.Background>
                    <SolidColorBrush Color="{StaticResource PhoneChromeColor}"/>
                </controls:Panorama.Background>
            	<controls:PanoramaItem Header="1" Margin="0,-115,0,5" Background="Black">
            		<Border BorderThickness="1,2,1,0" CornerRadius="5" Background="#E6FFFFFF">
            			<Border.BorderBrush>
            				<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
            					<GradientStop Color="#FFDDDDDD" Offset="0.978"/>
            					<GradientStop Color="#FFD0D0D0" Offset="0.978"/>
            				</LinearGradientBrush>
            			</Border.BorderBrush>
            			<Grid Background="#16FFFFFF">
            				<Button Content="New tab" Height="74" HorizontalAlignment="Right" x:Name="tab1" VerticalAlignment="Top" Width="375" BorderBrush="Black" BorderThickness="0" Foreground="#FF888888" Margin="0,-8,0,0" Click="tab1_Click" VerticalContentAlignment="Stretch" />
            				<Image Height="41" HorizontalAlignment="Left" Margin="0,2,0,0" x:Name="image2" Stretch="Uniform" VerticalAlignment="Center" Width="44" Source="Images/globe_favicon.png" />
            			</Grid>
            		</Border>
            	</controls:PanoramaItem>
            	<controls:PanoramaItem Header="2" Margin="0,-115,0,5" Background="Black">
            		<Border BorderThickness="1,2,1,0" CornerRadius="5" Background="#E6FFFFFF">
            			<Border.BorderBrush>
            				<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
            					<GradientStop Color="#FFDDDDDD" Offset="0.978"/>
            					<GradientStop Color="#FFD0D0D0" Offset="0.978"/>
            				</LinearGradientBrush>
            			</Border.BorderBrush>
            			<Grid>
            				<Button BorderBrush="Black" BorderThickness="0" Content="New tab" Foreground="#FF888888" Height="74" HorizontalAlignment="Right" Margin="0,-12,0,0" x:Name="tab2" VerticalAlignment="Top" Width="375" Click="tab2_Click" />
            				<Image Height="41" HorizontalAlignment="Left" x:Name="image3" Source="Images/globe_favicon.png" Stretch="Uniform" VerticalAlignment="Center" Width="44" />
            			</Grid>
            		</Border>
            	</controls:PanoramaItem>
            	<controls:PanoramaItem Header="3" Margin="0,-115,0,5" Background="Black">
            		<Border BorderThickness="1,2,1,0" CornerRadius="5" Background="#E6FFFFFF">
            			<Border.BorderBrush>
            				<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
            					<GradientStop Color="#FFDDDDDD" Offset="0.978"/>
            					<GradientStop Color="#FFD0D0D0" Offset="0.978"/>
            				</LinearGradientBrush>
            			</Border.BorderBrush>
            			<Grid>
            				<Button BorderBrush="Black" BorderThickness="0" Content="New tab" Foreground="#FF888888" Height="74" HorizontalAlignment="Right" Margin="0,-12,0,0" x:Name="tab3" VerticalAlignment="Top" Width="375" Click="tab3_Click" />
            				<Image Height="41" HorizontalAlignment="Left" x:Name="image4" Source="Images/globe_favicon.png" Stretch="Uniform" VerticalAlignment="Center" Width="44" />
            			</Grid>
            		</Border>
            	</controls:PanoramaItem>
            	<controls:PanoramaItem Header="4" Margin="0,-115,0,5" Background="Black">
            		<Border BorderThickness="1,2,1,0" CornerRadius="5" Background="#E6FFFFFF">
            			<Border.BorderBrush>
            				<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
            					<GradientStop Color="#FFDDDDDD" Offset="0.978"/>
            					<GradientStop Color="#FFD0D0D0" Offset="0.978"/>
            				</LinearGradientBrush>
            			</Border.BorderBrush>
            			<Grid>
            				<Button BorderBrush="Black" BorderThickness="0" Content="New tab" Foreground="#FF888888" Height="74" HorizontalAlignment="Right" Margin="0,-12,0,0" x:Name="tab4" VerticalAlignment="Top" Width="375" Click="tab4_Click" />
            				<Image Height="41" HorizontalAlignment="Left" x:Name="image5" Source="Images/globe_favicon.png" Stretch="Uniform" VerticalAlignment="Center" Width="44" />
            			</Grid>
            		</Border>
            	</controls:PanoramaItem>
            	<controls:PanoramaItem Header="5" Margin="0,-115,0,5" Background="Black">
            		<Border BorderThickness="2,0,0,2" CornerRadius="5" Background="White">
            			<Border.BorderBrush>
            				<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
            					<GradientStop Color="#FFDDDDDD" Offset="0.978"/>
            					<GradientStop Color="#FFD0D0D0" Offset="0.978"/>
            				</LinearGradientBrush>
            			</Border.BorderBrush>
            			<Grid>
            				<Button BorderBrush="Black" BorderThickness="0" Content="New tab" Foreground="#FF888888" Height="74" HorizontalAlignment="Right" Margin="0,-11,0,0" x:Name="tab5" VerticalAlignment="Top" Width="375" Click="tab5_Click" />
            				<Image Height="41" HorizontalAlignment="Left" x:Name="image6" Source="Images/globe_favicon.png" Stretch="Uniform" VerticalAlignment="Center" Width="44" />
            			</Grid>
            		</Border>
            	</controls:PanoramaItem>
            	<controls:PanoramaItem Header="6" Width="380" Margin="0,-115,0,5" Background="Black">
            		<Border BorderThickness="1,2,1,0" CornerRadius="5" Background="#E6FFFFFF">
            			<Border.BorderBrush>
            				<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
            					<GradientStop Color="#FFDDDDDD" Offset="0.978"/>
            					<GradientStop Color="#FFD0D0D0" Offset="0.978"/>
            				</LinearGradientBrush>
            			</Border.BorderBrush>
            			<Grid>
            				<Button BorderBrush="Black" BorderThickness="0" Content="New tab" Foreground="#FF888888" Height="74" HorizontalAlignment="Right" Margin="0,-11,0,0" x:Name="tab6" VerticalAlignment="Top" Width="375" Click="tab6_Click" />
            				<Image Height="41" HorizontalAlignment="Left" x:Name="image7" Source="Images/globe_favicon.png" Stretch="Uniform" VerticalAlignment="Center" Width="44" RenderTransformOrigin="0.477,0.012" />
            			</Grid>
            		</Border>
            	</controls:PanoramaItem>
            	<controls:PanoramaItem Header="7" Width="380" Margin="0,-115,0,5" Background="Black">
            		<Border BorderThickness="1,2,1,0" CornerRadius="5" Background="#E6FFFFFF">
            			<Border.BorderBrush>
            				<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
            					<GradientStop Color="#FFDDDDDD" Offset="0.978"/>
            					<GradientStop Color="#FFD0D0D0" Offset="0.978"/>
            				</LinearGradientBrush>
            			</Border.BorderBrush>
            			<Grid>
            				<Button BorderBrush="Black" BorderThickness="0" Content="New tab" Foreground="#FF888888" Height="74" HorizontalAlignment="Right" Margin="0,-11,0,0" x:Name="tab7" VerticalAlignment="Top" Width="375" Click="tab7_Click" />
            				<Image Height="41" HorizontalAlignment="Left" Margin="-1,0,0,0" x:Name="image8" Source="Images/globe_favicon.png" Stretch="Uniform" VerticalAlignment="Center" Width="44" />
            			</Grid>
            		</Border>
            	</controls:PanoramaItem>
            	<controls:PanoramaItem Header="8" Margin="0,-115,0,5" Background="Black">
            		<Border BorderThickness="1,2,1,0" CornerRadius="5" Background="#E6FFFFFF">
            			<Border.BorderBrush>
            				<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
            					<GradientStop Color="#FFDDDDDD" Offset="0.978"/>
            					<GradientStop Color="#FFD0D0D0" Offset="0.978"/>
            				</LinearGradientBrush>
            			</Border.BorderBrush>
            			<Grid>
            				<Button BorderBrush="Black" BorderThickness="0" Content="New tab" Foreground="#FF888888" HorizontalAlignment="Right" Margin="0,-12,0,-13" x:Name="tab8" Width="375" Click="tab8_Click" />
            				<Image Height="41" HorizontalAlignment="Left" x:Name="image9" Source="Images/globe_favicon.png" Stretch="Uniform" VerticalAlignment="Center" Width="44" />
            			</Grid>
            		</Border>
            	</controls:PanoramaItem>
            </controls:Panorama>
            <Grid Height="60" HorizontalAlignment="Stretch" x:Name="grid1" VerticalAlignment="Bottom" d:LayoutOverrides="VerticalAlignment" RenderTransformOrigin="0.5,0.5">
            	<Grid.RenderTransform>
            		<CompositeTransform/>
            	</Grid.RenderTransform>
                <Grid.Background>
                    <SolidColorBrush Color="{StaticResource PhoneChromeColor}"/>
                </Grid.Background>
                <!--<Button Margin="0,-12,418,0" Padding="0" Click="Back_Click" Width="72" Height="72" VerticalAlignment="Top" HorizontalAlignment="Right" BorderThickness="0" IsHitTestVisible="True" Name="Button1">
                <Button.Content>
                    <Image Source="Images/appbar.back.rest.png" Stretch="UniformToFill" Height="58" Width="58"></Image>
                </Button.Content>
            </Button>-->
            	<Button Click="button1_Click" BorderThickness="0" Height="90" IsHitTestVisible="True" x:Name="button1" Padding="0" VerticalAlignment="Top" HorizontalAlignment="Right" Width="90" FontSize="18.667" Background="Transparent" Foreground="White" Margin="0,-14,-14,0" Style="{StaticResource ButtonStyle1}">
            		<Image Source="images/appbar.favs.rest.png"
						/>
            	</Button>
                <!--<Button Margin="0,-11,61,0" Padding="0" Click="Button_Click_1" Width="81" Height="73" VerticalAlignment="Top" HorizontalAlignment="Right" BorderThickness="0" IsHitTestVisible="True" x:Name="Button3" d:LayoutOverrides="HorizontalAlignment">
            	<Image Source="Images/btn_toolbar_reload_normal.png" Stretch="UniformToFill" Height="58" Width="58"/>
            </Button>-->
            	<toolkit:PhoneTextBox InputScope="URL" GotFocus="textBox1_GotFocus" LostFocus="textBox1_LostFocus" ActionIconTapped="textBox1_ActionIconTapped" KeyDown="textBox1_KeyDown" x:Name="textBox1" Text="" Hint="search the web" ActionIcon="Images/Refresh.png" LengthIndicatorVisible="False" Margin="51,-8,51,-9" >
            		<toolkit:PhoneTextBox.SelectionForeground>
            			<SolidColorBrush Color="{StaticResource PhoneTextBoxSelectionForegroundColor}"/>
            		</toolkit:PhoneTextBox.SelectionForeground>
            		<toolkit:PhoneTextBox.SelectionBackground>
            			<SolidColorBrush Color="{StaticResource PhoneAccentColor}"/>
            		</toolkit:PhoneTextBox.SelectionBackground>
            		<toolkit:PhoneTextBox.BorderBrush>
            			<SolidColorBrush Color="{StaticResource PhoneBorderColor}"/>
            		</toolkit:PhoneTextBox.BorderBrush>
            		<toolkit:PhoneTextBox.Background>
            			<SolidColorBrush Color="{StaticResource PhoneTextBoxColor}"/>
            		</toolkit:PhoneTextBox.Background>
            		<toolkit:PhoneTextBox.Foreground>
            			<SolidColorBrush Color="{StaticResource PhoneTextBoxForegroundColor}"/>
            		</toolkit:PhoneTextBox.Foreground>
            	</toolkit:PhoneTextBox>
            	<Button Background="Transparent" BorderThickness="0" FontSize="18.667" Foreground="White" Height="90" HorizontalAlignment="Left" IsHitTestVisible="True" x:Name="backButton" Padding="0" VerticalAlignment="Stretch" Width="90" Click="backButton_Click" Margin="-14,-14,0,-14" Style="{StaticResource ButtonStyle2}" >
            		<Image Source="images/appbar.back.rest.png" />
            	</Button>
            	<ProgressBar Height="10" VerticalAlignment="Top" Value="-35" x:Name="PB1" Foreground="{StaticResource PhoneAccentBrush}" Margin="78,3,78,0" Background="#001BA1E2" />
            </Grid>
            <Grid x:Name="settings" Margin="0,0,0,-742" Height="740" VerticalAlignment="Bottom" RenderTransformOrigin="0.5,0.5">
            	<Grid.RenderTransform>
            		<CompositeTransform/>
            	</Grid.RenderTransform>
                <Grid.Background>
                    <SolidColorBrush Color="{StaticResource PhoneChromeColor}"/>
                </Grid.Background>
            	<Rectangle Fill="#8C000000" Margin="0" Stroke="Black" StrokeThickness="0" Visibility="Collapsed"/>
            	<Rectangle Fill="#8C000000" Margin="0" Stroke="Black" StrokeThickness="0" Visibility="Collapsed"/>
            	<Button Click="button2_Click" Content="Forward" Height="72" HorizontalAlignment="Right" x:Name="button2" VerticalAlignment="Bottom" Width="221" BorderBrush="White" Foreground="White" RenderTransformOrigin="0.5,0.5" >
            		<Button.RenderTransform>
            			<CompositeTransform/>
            		</Button.RenderTransform>
            	</Button>
            	<Button BorderBrush="White" Content="About" Foreground="White" Height="72" x:Name="button5" VerticalAlignment="Top" Click="button5_Click" HorizontalAlignment="Left" Width="221" RenderTransformOrigin="0.5,0.5" >
            		<Button.RenderTransform>
            			<CompositeTransform/>
            		</Button.RenderTransform>
            	</Button>
            	<Button BorderBrush="White" Content="Help" Foreground="White" Height="72" x:Name="buttonHelp" VerticalAlignment="Top" Click="buttonHelp_Click" HorizontalAlignment="Right" Width="221" RenderTransformOrigin="0.5,0.5" >
            		<Button.RenderTransform>
            			<CompositeTransform/>
            		</Button.RenderTransform>
            	</Button>
            	<controls:Pivot Margin="0,71,0,72" x:Name="pivot1" Title="" Width="480" RenderTransformOrigin="0.5,0.5">
            		<controls:Pivot.RenderTransform>
            			<CompositeTransform/>
            		</controls:Pivot.RenderTransform>
            		<controls:PivotItem Header="Menu">
            			<Grid/>
            		</controls:PivotItem>
            		<controls:PivotItem Header="Weather">
            			<Grid>
            				<ListBox Height="463" HorizontalAlignment="Left" x:Name="listBox1" VerticalAlignment="Top" Width="456" >
            					<ListBox.ItemTemplate>
            						<DataTemplate>
            							<StackPanel Orientation="Horizontal" Height="132" >
            								<Grid Height="100">
            									<Grid.ColumnDefinitions>
            										<ColumnDefinition Width="100"/>
            										<ColumnDefinition Width="*"/>
            									</Grid.ColumnDefinitions>

            									<Image Grid.Column="0" Height="100" Width="100" Source="{Binding icon}"/>
            									<TextBlock Text="{Binding day_of_week}" Foreground="Orange"  Grid.Column="1" Margin="10,10,10,60"/>
            									<TextBlock Grid.Column="1" Margin="10,40,300,30" Text="MinF: "/>
            									<TextBlock Text="{Binding low}" Grid.Column="1" Margin="70,40,250,30" FontWeight="Bold"/>
            									<TextBlock Grid.Column="1" Margin="150,40,160,30" Text="MaxF: "/>
            									<TextBlock Text="{Binding high}" Grid.Column="1" Margin="215,40,90,30" FontWeight="Bold"/>
            									<TextBlock Text="{Binding condition}" Grid.Column="1" Margin="10,75,10,0"/>

            								</Grid>
            							</StackPanel>
            						</DataTemplate>

            					</ListBox.ItemTemplate>
            				</ListBox>
            			</Grid>
            		</controls:PivotItem>
            		<controls:PivotItem Header="Facebook">
            			<Grid>
            				<Image x:Name="picProfile" Width="100" Height="100" HorizontalAlignment="Left" VerticalAlignment="Top" d:LayoutOverrides="HorizontalAlignment, Height" Margin="0,8,0,0" />
            				<StackPanel Margin="108,8,0,0" Height="100" VerticalAlignment="Top">
            					<TextBlock x:Name="ProfileName"/>
            					<TextBlock x:Name="TotalFriends"/>
            					<TextBlock x:Name="FirstName"/>
            					<TextBlock x:Name="LastName"/>
            				</StackPanel>
            				<StackPanel Margin="0,113,0,128">
            					<TextBox Height="150" x:Name="txtMessage" AcceptsReturn="True" VerticalScrollBarVisibility="Auto" TextWrapping="Wrap"/>
            					<StackPanel Orientation="Horizontal">
            						<Button Content="post to wall" Click="PostToWall_Click"/>
            						<Button Content="delete last message" IsEnabled="False" Click="DeleteLastMessage_Click" x:Name="btnDeleteLastMessage"/>
            					</StackPanel>
            				</StackPanel>
            				<Button Click="loadinformationclicked" Content="load information" Height="75" VerticalAlignment="Bottom"/>
            			</Grid>
            		</controls:PivotItem>
            		<controls:PivotItem Header="Settings">
            			<Grid >
            				<Path Data="M0,304 L303,304" Fill="#FFF4F4F5" Height="1" Margin="0,224,0,0" Stretch="Fill" Stroke="White" UseLayoutRounding="False" VerticalAlignment="Top" StrokeThickness="2"/>
            				<ScrollViewer Margin="0,2,0,0" d:LayoutOverrides="HorizontalAlignment" Height="219" VerticalAlignment="Top">
            					<Grid Height="289" Width="478">
            						<RadioButton Checked="RadioButton_Checked" Content="I'm Google Chrome" Margin="8,61,0,0" HorizontalAlignment="Left" x:Name="RB1" VerticalAlignment="Top" Width="462" />
            						<RadioButton Checked="RadioButton_Checked_1" Content="I'm Opera" Margin="8,133,0,0" HorizontalAlignment="Left" x:Name="RB2" VerticalAlignment="Top" Width="462" />
            						<RadioButton Checked="RadioButton_Checked_2" Content="I'm IE" Margin="8,205,8,0" x:Name="RB3" VerticalAlignment="Top" />
            						<TextBlock Height="49" TextWrapping="Wrap" Text="Who do you want to be?" VerticalAlignment="Top" FontSize="32" Margin="8,0,0,0"/>
            					</Grid>
            				</ScrollViewer>
            				<ScrollViewer Margin="0,225,0,0">
            					<Grid Height="343" Width="456">
            						<toolkit:ToggleSwitch Unchecked="ts1unchecked" Checked="ts1checked" x:Name="TS1" Header="Weather" HorizontalAlignment="Right" Margin="0,124,8,86" Width="440">
            							<toolkit:PhoneTextBox ActionIconTapped="textBox2_ActionIconTapped" KeyDown="textBox2_KeyDown" x:Name="textBox2" Text="" Hint="set location (city,country)" ActionIcon="Images/Refresh.png" LengthIndicatorVisible="False" Height="69" HidesActionItemWhenEmpty="True" Width="320" Margin="-10,0,0,-7" >
            								<toolkit:PhoneTextBox.SelectionForeground>
            									<SolidColorBrush Color="{StaticResource PhoneTextBoxSelectionForegroundColor}"/>
            								</toolkit:PhoneTextBox.SelectionForeground>
            								<toolkit:PhoneTextBox.SelectionBackground>
            									<SolidColorBrush Color="{StaticResource PhoneAccentColor}"/>
            								</toolkit:PhoneTextBox.SelectionBackground>
            								<toolkit:PhoneTextBox.BorderBrush>
            									<SolidColorBrush Color="{StaticResource PhoneBorderColor}"/>
            								</toolkit:PhoneTextBox.BorderBrush>
            								<toolkit:PhoneTextBox.Background>
            									<SolidColorBrush Color="{StaticResource PhoneTextBoxColor}"/>
            								</toolkit:PhoneTextBox.Background>
            								<toolkit:PhoneTextBox.Foreground>
            									<SolidColorBrush Color="{StaticResource PhoneTextBoxForegroundColor}"/>
            								</toolkit:PhoneTextBox.Foreground>
            							</toolkit:PhoneTextBox>
            						</toolkit:ToggleSwitch>
            						<CheckBox Checked="CB1_Checked" Unchecked="CB1_Unchecked" Content="Show Tabs" Height="74" Margin="0,50,7,0" VerticalAlignment="Top" IsChecked="False" x:Name="CB1" />
            						<TextBlock TextWrapping="Wrap" Text="Settings" FontSize="32" Margin="0,1,-1,0" Height="49" VerticalAlignment="Top"/>
            					</Grid>
            				</ScrollViewer>
            			</Grid>
            		</controls:PivotItem>
            	</controls:Pivot>
            </Grid>
            <Grid x:Name="IntroScreen" Margin="0" Visibility="Collapsed">
                <Grid.Background>
                    <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                    	<GradientStop Color="#FF339933" Offset="0.095"/>
                    	<GradientStop Color="#FF939393" Offset="0.095"/>
                    </LinearGradientBrush>
                </Grid.Background>
            	<Button Click="Button_Click" Content="Finish" VerticalAlignment="Bottom" BorderBrush="Black" Foreground="Black" HorizontalAlignment="Right" Width="222"/>
            	<ScrollViewer Margin="0,92,0,76">
            		<Grid Height="753" Width="470">
            			<TextBlock TextWrapping="Wrap" Text="Gestures" VerticalAlignment="Top" Margin="0,2,6,0" Height="46" Foreground="Black" FontSize="32" FontFamily="Segoe WP Semibold"/>
            			<TextBlock TextWrapping="Wrap" Text="To hide the Address bar and the Tabs tap and hold the web browser." Margin="0,52,6,0" Foreground="Black" FontSize="26.667" FontFamily="Segoe WP" Height="80" VerticalAlignment="Top"/>
            			<TextBlock TextWrapping="Wrap" Text="To show the Address bar and the Tabs flick the web browser up or down." Margin="0,132,6,0" Foreground="Black" FontSize="26.667" FontFamily="Segoe WP" Height="80" VerticalAlignment="Top"/>
            			<TextBlock TextWrapping="Wrap" Text="Navigation" VerticalAlignment="Top" Margin="0,221,6,0" Height="46" Foreground="Black" FontSize="32" FontFamily="Segoe WP Semibold"/>
            			<TextBlock TextWrapping="Wrap" Text="To refresh a website tap the website's icon on the Address bar." Margin="0,271,6,0" Foreground="Black" FontSize="26.667" FontFamily="Segoe WP" Height="80" VerticalAlignment="Top"/>
            			<TextBlock TextWrapping="Wrap" Text="To navigate backwards tap the back button on the right side of the Address bar." Margin="0,351,6,322" Foreground="Black" FontSize="26.667" FontFamily="Segoe WP"/>
            			<TextBlock TextWrapping="Wrap" Text="To navigate forward open the menu and tap the Forward button." Margin="0,0,6,242" Foreground="Black" FontSize="26.667" FontFamily="Segoe WP" Height="80" VerticalAlignment="Bottom"/>
            			<TextBlock TextWrapping="Wrap" Text="Bing Picture of The Day" VerticalAlignment="Bottom" Margin="0,0,6,186" Height="46" Foreground="Black" FontSize="32" FontFamily="Segoe WP Semibold"/>
            			<TextBlock TextWrapping="Wrap" Text="If enabled, The app will display the Bing Picture of The Day as the background." Margin="0,0,6,68" Foreground="Black" FontSize="26.667" FontFamily="Segoe WP" Height="118" VerticalAlignment="Bottom"/>
            		</Grid>
            	</ScrollViewer>
            	<TextBlock TextWrapping="Wrap" Text="Help" VerticalAlignment="Top" Margin="8,2,8,0" Height="73" Foreground="Black" FontSize="48" FontFamily="Segoe WP Semibold"/>
            </Grid>
        </Grid>
        <Grid x:Name="loadingGrid" Grid.RowSpan="2" HorizontalAlignment="Stretch" Background="#B9000000" Visibility="Collapsed">
            <StackPanel HorizontalAlignment="Stretch" VerticalAlignment="Center">
                <TextBlock Height="30" HorizontalAlignment="Center" x:Name="loadingText" Text="Loading..." VerticalAlignment="Center" Width="441" TextAlignment="Center" />
                <ProgressBar Height="4" HorizontalAlignment="Center" x:Name="loadingProgress" VerticalAlignment="Center" IsIndeterminate="True" HorizontalContentAlignment="Center" Width="400" />
            </StackPanel>
        </Grid>
        <phone:WebBrowser x:Name="authorizationBrowser" Grid.RowSpan="2" IsScriptEnabled="True" Visibility="Collapsed" Navigated="authorizationBrowser_Navigated"/>
    </Grid>

    <!--<phone:PhoneApplicationPage.ApplicationBar>
        <shell:ApplicationBar IsVisible="False" IsMenuEnabled="False" Mode="Minimized">
            <shell:ApplicationBar.MenuItems>
                <shell:ApplicationBarMenuItem Text="About" Click="ApplicationBarMenuItem_Click"/>
                <shell:ApplicationBarMenuItem Text="Exit" Click="ApplicationBarMenuItem_Click_1" />
            </shell:ApplicationBar.MenuItems>
        </shell:ApplicationBar>
    </phone:PhoneApplicationPage.ApplicationBar>-->

</phone:PhoneApplicationPage>